<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!--<link rel="stylesheet" href="../../static/css/app/loginStyle.css">-->
    <title>表格自适应</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/style_login.css}"/>

</head>

<body>

<div id="apploginbox" >
    <span id="loginbiaoti">用户登录</span>
    <form id="fromLogin" method="post" autocomplete="off">
        <input type="text" name="username" placeholder="用户名" class="logininput"
               id="loginname"/>
        <input type="password" name="password" placeholder="密码" class="logininput"
               id="loginpwd"/>
        <input type="submit" id="loginin" onclick="loginUser()"
               value="登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录"/>
    </form>
</div>

</body>
<script>
    function loginUser() {
        fromLogin.action = "/appLoginUser";
        fromLogin.submit();
    }
</script>
</html>
